package com.budwk.app.miniapp.services;


import cn.dev33.satoken.annotation.SaCheckLogin;
import com.budwk.app.miniapp.models.SqfwCenSusPaper;
import com.budwk.app.miniapp.models.SqfwRally;

import com.budwk.app.miniapp.models.SqfwRallySign;
import com.budwk.app.miniapp.models.SysDictData;
import com.budwk.starter.common.openapi.annotation.ApiFormParams;
import com.budwk.starter.common.openapi.annotation.ApiOperation;
import com.budwk.starter.common.openapi.annotation.ApiResponses;
import com.budwk.starter.common.result.Result;
import com.budwk.starter.database.service.BaseService;
import com.budwk.starter.log.annotation.SLog;
import com.budwk.starter.security.utils.SecurityUtil;
import org.nutz.aop.interceptor.ioc.TransAop;
import org.nutz.ioc.aop.Aop;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.Ok;
import org.nutz.mvc.annotation.POST;
import org.nutz.mvc.annotation.Param;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 社区活动主体
 */
public interface SqfwRallyService extends BaseService<SqfwRally> {

    SqfwRally createOne(SqfwRally sqfwRally);

    SqfwRally getOne(String id);

    SqfwRally getOneInfo(String id);

    boolean delOne(String id);


    SqfwRally updateOne(SqfwRally sqfwRally);

    void finishService(String id);


    List<SqfwCenSusPaper> singUp(SqfwRallySign rallySign) ;
}
